//
//  XRCommonLeftLableWithTextFieldTableViewCell.m
//  XClassRoom
//
//  Created by mac on 16/11/7.
//  Copyright © 2016年 Mr-yuwei. All rights reserved.
//

#import "XRCommonLeftLableWithTextFieldTableViewCell.h"

@implementation XRCommonLeftLableWithTextFieldTableViewCell

-(void)addOwnView
{
    _textField=[[UITextField alloc] init];
    [self.contentView addSubview:_textField];
    _textField.returnKeyType=UIReturnKeyDone;
     _textField.placeholder=@"请输入相关内容";
    _textField.font=[UIFont systemFontOfSize:14];
    
    [_textField mas_makeConstraints:^(MASConstraintMaker *make) {
     
        make.centerY.equalTo(self.contentView);
        make.left.equalTo(self.contentView).with.offset(95.0);
        make.right.equalTo(self.contentView).with.offset(-15.0f);
    }];
}

@end
